<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/my51JobDwt.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>发布招聘信息</title>
<style type="text/css">
.div0Intro
{
	background-image:url(/resources/images/menu-bg1.gif);
	background-repeat:repeat-x;
	width:1000px;
	height:33px;
	margin:auto;
	color:#FFF;
	font-size:12px;
	line-height:28px;
}
.span0Intro
{
	margin-left:10px;
	margin-right:10px;
}

.div1Intro
{
	width:960px;
	height:877px;
	/*border:1px solid #F00;*/
	margin:auto;
}

.div11Intro
{
	float:left;
	width:210px;
	height:777px;
	border:1px #CCC dashed;
	background-color:#FFFFF7;
	text-align:left;
}

.div12Intro
{
	float:left;
	width:700px;
	height:827px;
	/*border:solid 1px #00F;*/
	text-align:left;
	padding-top:15px;
	margin-left:30px;
}

.div111Intro
{
/*	width:180px;*/
	height:16px;
	/*border:#000 1px dashed;*/
	margin-left:30px;
	vertical-align:middle;
	/*margin-bottom:10px;
	margin-top:10px;*/
}

.span11InnerIntro
{
	line-height:16px;
	height:16px;
	text-align:left;
	font-size:12px;
	font-weight:bold;
	margin-left:10px;
}

.div112Intro
{
	width:180px;
	height:16px;
	/*border:#000 1px dashed;*/
	margin-left:30px;
	vertical-align:middle;
	margin-bottom:8px;
	margin-top:8px;
}

.span12InnerIntro
{
	color:#414141;
	line-height:16px;
	height:16px;
	text-align:left;
	font-size:12px;
	margin-left:10px;
}

.img1Intro
{
	margin:10px;
	cursor:pointer;
}

.img2Intro
{
	margin-top:10px;
	margin-bottom:10px;
	margin-left:0px;
}

.btn1Intro
{
	width:100px;
	height:33px;
	border:0px;
	background-image:url(/resources/images/login-sm2.gif);
	
}

.btn1Intro:hover
{
	width:100px;
	height:33px;
	border:0px;
	background-image:url(/resources/images/login-sm1.gif);
}

.star1Intro
{
	color:#F60;
	margin-right:5px;
}

td
{
	font-size:12px;
	color:#414141;
}

.tablediv1Intro
{
	width:698px;
	/*border:1px dashed #000;*/
	margin-bottom:15px;
}

.tablediv2Intro
{
	width:698px;
	/*border:1px dashed #000;*/
	margin-bottom:15px;
}

.tablediv3Intro
{
	width:698px;
	/*border:1px dashed #000;*/
	margin-bottom:15px;
}

.table1Intro
{
	width:690px;
	height:300px;
}

.table2Intro
{
	width:550px;
	height:250px;
}

.table3Intro
{
	width:550px;
	height:190px;
}

.textarea1Intro
{
	width:450px;
	height:196px;
}

.aIntro
{
	color:#414141;
	font-size:12px;
	text-decoration:none;
}

.aIntro:hover
{
	color:#F60;
	font-size:12px;
	text-decoration:none;
}

</style>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<style type="text/css">
.spandwt
{
	display:block;
	text-align:center;
	line-height:25px;
	font-size:12px;
	color:#414141;
	font-family:"宋体";
}
.divdwt
{
	display:block;
	background-image:url(/resources/images/bottom-bg.gif);
	text-align:center;
	height:35px;
	width:1000px;
	color:#FFF;
	line-height:30px;
	font-size:12px;
	font-family:"宋体";
	margin:auto;
}

.adwt
{
	color:#FFF;
	font-size:12px;
	text-decoration:none;
	font-family:"宋体";
}

.adwt:hover
{
	color:#FFF;
	font-size:12px;
	text-decoration:none;
	font-family:"宋体";
}

.bodydwt
{
	text-align:center;
}

.imgdwt
{
	border:0px;
}
.headdwt
{
	width:960px;
	height:65px;
	margin:auto;/*居中*/
	position:relative;
	vertical-align:bottom;
	/*border:1px solid #000;*/
}

.headerleftdwt
{
	/*border:1px solid #000;*/
	float:left;
	margin-bottom:0px;
	height:65px;
}

.headerrightdwt
{
	/*border:1px solid #000;*/
	float:right;
	height:31px;
	vertical-align:bottom;
	margin-top:34px;
}

.imgheaderdwt
{
	border:0px;
}

</style>


</head>

<body>

<div class="bodydwt">
<div class="headdwt">
	<div class="headerleftdwt"><img src="/resources/images/logo.gif" /></div>
    <div class="headerrightdwt">
        <a href="login.html" name="pic"><img src="/resources/images/menu1-2.gif" class="imgheaderdwt" /></a>
        <a href="search.html" name="pic"><img src="/resources/images/menu2-2.gif" class="imgheaderdwt" /></a>
        <a href="intro.html" name="pic"><img src="/resources/images/menu3-2.gif" class="imgheaderdwt" /></a>
    </div>
</div>
<!-- InstanceBeginEditable name="EditRegion3" -->
<!--菜单栏开始-->
<div class="div0Intro">
	<span class="span0Intro">简历中心</span>|<span class="span0Intro">求职信</span>|<span class="span0Intro">简历指导</span>
</div>
<!--菜单栏结束-->


<!--中间内容开始-->
<div class="div1Intro">
	<!--中间内容左边开始-->
	<div class="div11Intro">
    	<img src="/resources/images/intro-left1.gif" onclick="pop1()" class="img1Intro" />
       <div id="pop21" class="div112Intro"><img src="/resources/images/intro-1.gif" align="middle" /><span class="span12InnerIntro"><a href="/recruit/crecruit3" class="aIntro">招聘信息</a></span></div>
       
        <img src="/resources/images/intro-left2.gif" onclick="pop2()" class="img1Intro" />
        <div id="pop21" class="div112Intro"><img src="/resources/images/intro-1.gif" align="middle" /><span class="span12InnerIntro"><a href="/recruit/crecruit2" class="aIntro">发布信息管理</a></span></div>
        <div id="pop21" class="div112Intro"><img src="/resources/images/intro-1.gif" align="middle" /><span class="span12InnerIntro"><a href="/recruit/crecruit1" class="aIntro">返回</a></span></div>
       
        
	</div>
    <!--中间内容左边结束-->
    <!--中间内容右边开始-->
    <div class="div12Intro">
    	<div class="div111Intro"><img src="/resources/images/register-arrow.gif" /><span class="span11InnerIntro"><a name="point1">招聘信息（*为必填项）</a></span></div>
        <img src="/resources/images/border.JPG" class="img2Intro" />
        <form action="/recruit/crecruit" method="post">
        <div class="tablediv1Intro">
		  
        	<table class="table1Intro" cellspacing="5px;">
            	<tr>
                	<td style="width:80px">
                    	<span class="star1Intro">*</span>职位名称
                    </td>
                    <td style="width:280px;">
                    	<input id="nametxt" type="text" name="reCompanyName" style="border:1px solid #999" />
                    </td>
                    <td>
                    	学历要求
                    </td>
                    <td>
                    	<select id="rEducation" name="rEducation">
                        	<option style="display:none" value="" disabled selected="selected">--请选择--</option>
                           <option>中专</option>
                    		<option>大专</option>
                    		<option>本科</option>
                    		<option>研究生</option>
                        </select>
                    	
                    	
                    </td>
                </tr>
                <tr>
                	<td style="width:80px">
                    	<span class="star1Intro">*</span>公司地址
                    </td>
                    <td style="width:280px;">
                    	<input type="text" name="reAddress" style="width:250px; border:1px solid #999" />
                    </td>
                    <td style="width:80px">
                    	<span class="star1Intro">*</span>招聘人数
                    </td>
                    <td style="width:280px;">
                    	<input type="text" name="reRecruitment" style="width:50px; border:1px solid #999" />
                    </td>
                </tr>
                <tr>
                	<td>
                    	<span class="star1Intro">*</span>工作地点
                    </td>
                    <td>
                    	<input type="text" name="reWorkingplace" style="width:150px; border:1px solid #999" />
                    </td>
                    <td>
                    	<span class="star1Intro">*</span>职位性质
                    </td>
                    <td>
                    	<select id="rePositiontype" name="rePositiontype">
                        	<option style="display:none" value="" disabled selected="selected">--请选择--</option>
                           <option>兼职</option>
                    		<option>全职</option>
                    		<option>实习</option>
                        </select>
                    	
                   
                    </td>
                    
                    
                </tr>
                <tr>
               		<td>
                    	<span class="star1Intro">*</span>使用部门
                    </td>
                    <td>
                    	<select id="reBranch" name="reBranch">
                        	<option style="display:none" value="" disabled selected="selected">--请选择--</option>
                           <option>销售部</option>
                            <option>财务部</option>
                            <option>人力资源部</option>
                            <option>产品开发部</option>
                            <option>生产部</option>   
                        </select>
                    
                    	
                    </td>
                    
                    <td>
                    	<span class="star1Intro">*</span>薪酬范围
                    </td>
                    <td>
                    	<input type="text" name=""reMoney"" style="width:100px; border:1px solid #999" />人民币
                    </td>
                </tr>
                <tr>
                	<td>
                    	<span class="star1Intro">*</span>联系人
                    </td>
                    <td>
                    	<input type="text" name="reLinkman" style="width:150px; border:1px solid #999" />
                    </td>
                    <td>
                    	<span class="star1Intro">*</span>联系方式
                    </td>
                    <td>
                    	<a name="point8"><input id="contactid" type="text" name="reTelephone" style="width:150px; border:1px solid #999;" /></a>
                    </td>
                </tr>
                
                <tr>
                	
                    <td>
                    	<span class="star1Intro">*</span>E-mail
                    </td>
                    <td>
                    	<input id="email" type="text" name="reEmail" style="width:150px; border:1px solid #999;" />
                    </td>
                    <td>
                    	邮编
                    </td>
                    <td>
                    	<input type="text" name="rePostcode" style="width:50px; border:1px solid #999" />
                    </td>
                </tr>     
                <tr>
                	<td>
                    	<input type="hidden" name="reDate" />
                    </td>
                </tr>          
            </table>
            
        </div>
        <div class="div111Intro"><img src="/resources/images/register-arrow.gif" /><span class="span11InnerIntro"><a name="point2">职位描述及要求</a></span></div>
        <img src="/resources/images/border.JPG" class="img2Intro" />
        <div class="tablediv2Intro">
        	<table class="table2Intro" cellspacing="0" cellpadding="0">
            	<tr>
                	
                    <td>
                    	<textarea class="textarea1Intro" name="reDescription" style="resize:none"></textarea>
                    </td>
                </tr>
               
            </table>
        </div>
        <div style="background-image:url(/resources/images/menu-bg2.gif); background-repeat:repeat-x; width:680px; height:20px;">
        	
        </div>
        <div style="text-align:center">
        	<input class="btn1Intro" type="submit" onclick="checkContent()" value="发布" />
        </div>
        </form>
    </div>
    <!--中间内容右边结束-->
</div>
<!--中间内容结束-->



<!-- InstanceEndEditable -->
</div>
<div class="divdwt">
	网站导航&nbsp;&nbsp;|&nbsp;&nbsp;<a href="index.html" class="adwt">网站首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="search.html" class="adwt">职位搜索</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="login.html" class="adwt">Myjob</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="register.html" class="adwt">用户注册</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="login.html" class="adwt">用户登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="intro.html" class="adwt">简历管理</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="company.html" class="adwt">招聘公司</a>
</div>
<div>
  <span class="spandwt">人才招聘&nbsp;Email:hr@51job.com</span>
  <span class="spandwt">个人求职&nbsp;Email:club@51job.com&nbsp;&nbsp;或垂询:800-820-5100</span>
  <span class="spandwt">未经本招聘网站同意，不得转载本网站之所有招聘信息及作品</span>
  <span class="spandwt">无忧工作网版权所有&copy;1999-2007</span>
  <span class="spandwt"><a href="index.html"><img src="/resources/images/bottom1.gif" class="imgdwt" /></a></span>
</div>

<!-- InstanceBeginEditable name="EditRegion4" -->
<script type="text/javascript">

/*111111111111111111111111111111111111级联样式开始111111111111111111111111111111111111*/

var pro=new Array();
pro[0]=["--请选择--"];
pro[1]=["浙江省","杭州","嘉兴","宁波"];
pro[2]=["江苏省","苏州","南京","无锡"];
pro[3]=["山东省","济南","济宁","德州"];

/*
	pro是一个数组，可以手动添加pro的元素，这样有利于程序的升级
*/

var province=document.getElementById("pro");
var city=document.getElementById("city");


for(i=0;i<pro.length;i++)
{
	province.options.add(new Option(pro[i][0],i));
}

function addCities()
{
	var index=province.value;
	city.length=1;
	for(i=1;i<pro[index].length;i++)
	{
		city.options.add(new Option(pro[index][i],i));
	}
}


var myYear=document.getElementById("myYear");
var myMonth=document.getElementById("myMonth");
var myDay=document.getElementById("myDay");


for(i=1;i<=12;i++)
{
	myMonth.options.add(new Option(i,i));
}

for(i=1900;i<2100;i++)
{
	myYear.options.add(new Option(i,i));
}

function addDay()
{
	myDay.disabled=true;
	var yearNum=myYear.value;
	var monthNum=myMonth.value;
	if(yearNum=="0")
	{
		alert("请选择年份");
		return;
	}
	
	if(monthNum=="0")
	{
		alert("请选择月份");
		return;
	}
	
	alert("请选择日期");
	
	myDay.disabled=false;
	
	var days=0;
	switch (monthNum)
	{
		case "1":
		case "3":
		case "5":
		case "7":
		case "8":
		case "10":
		case "12":
			days=31;
			break;
		case "4":
		case "6":
		case "9":
		case "11":
			days=30;
			break;
		default:
			if((yearNum%4==0&&yearNum%100!=0)||yearNum%400==0)
			{
				days=29;
			}
			else
			{
				days=28;
			}
	}
	
	myDay.length=1;
	for(i=1;i<=days;i++)
	{
		
		myDay.options.add(new Option(i,i));
	}
	
	
}




/*2222222222222222222222222222222222222级联样式结束22222222222222222222222222222222222222*/
	var pop0=document.getElementById("pop0");
	var pop21=document.getElementById("pop21");
	var pop22=document.getElementById("pop22");
	var pop23=document.getElementById("pop23");
	var pop24=document.getElementById("pop24");
	var pop25=document.getElementById("pop25");
	var pop26=document.getElementById("pop26");
	var pop27=document.getElementById("pop27");
	var pop28=document.getElementById("pop28");
	var pop29=document.getElementById("pop29");
	var pop10=document.getElementById("pop10");
	var pop11=document.getElementById("pop11");
	var pop12=document.getElementById("pop12");
	
pop0.style.display="none";
pop21.style.display="none";
pop22.style.display="none";
pop23.style.display="none";
pop24.style.display="none";
pop25.style.display="none";
pop26.style.display="none";
pop27.style.display="none";
pop28.style.display="none";
pop29.style.display="none";
pop10.style.display="none";
pop11.style.display="none";
pop12.style.display="none";
	

function pop1()
{

	
	if(pop0.style.display=="none")
	{
		pop0.style.display="block";
	}
	else
	{
		pop0.style.display="none";
	}
}

function pop2()
{
	
	if(pop21.style.display=="block")
	{
		pop21.style.display="none";
		pop22.style.display="none";
		pop23.style.display="none";
		pop24.style.display="none";
		pop25.style.display="none";
		pop26.style.display="none";
		pop27.style.display="none";
		pop28.style.display="none";
		pop29.style.display="none";
	}
	else
	{
		pop21.style.display="block";
		pop22.style.display="block";
		pop23.style.display="block";
		pop24.style.display="block";
		pop25.style.display="block";
		pop26.style.display="block";
		pop27.style.display="block";
		pop28.style.display="block";
		pop29.style.display="block";
	}
	
}


function pop3()
{
	
	if(pop10.style.display=="block")
	{
		pop10.style.display="none";
		pop11.style.display="none";
		pop12.style.display="none";
	}
	else
	{
		pop10.style.display="block";
		pop11.style.display="block";
		pop12.style.display="block";
	}
	
	
}



var pics=document.getElementsByName("pic");
pics[2].innerHTML="<img src='/resources/images/menu3-1.gif' class='imgheaderdwt' />";

function checkContent()
{
	var name=document.getElementById("nametxt");
	
	if(name.value=="")
	{
		alert("请输入职位名称");
		
		window.location.href="#point4";
		name.focus();
		return;
	}else{
		 document.getElementById("frm").submit();
	}
	
	/* var sexes=document.getElementsByName("sex");
	var flag=false;
	for(i=0;i<sexes.length;i++)
	{
		if(sexes[i].checked)
		{
			flag=true;
		}
	}
	
	if(!flag)
	{
		alert("请选择性别");
		window.location.href="#point4";
		return;
	}
	
	if(myDay.value=="0")
	{
		alert("请选择出生年月日");
		window.location.href="#point5";
		myYear.focus();
		return;
	} */
	
	
	/*
	var myyear=document.getElementById("myyear");
	
	if(myyear.value=="no")
	{
		alert("请选择出生年份");
		
		window.location.href="#point5";
		myyear.focus();
		return;
	}
	
	
	var mymonth=document.getElementById("mymonth");
	
	if(mymonth.value=="no")
	{
		alert("请选择出生月份");
		window.location.href="#point5";
		mymonth.focus();
		return;
	}
	
	var myday=document.getElementById("myday");
	
	if(myday.value=="no")
	{
		alert("请选择出生日期");
		window.location.href="#point5";
		myday.focus();
		return;
	}
	*/
	
	var myyears=document.getElementById("myyears");
	
	if(myyears.value=="no")
	{
		alert("请选择工作年限");
		window.location.href="#point5";
		myyears.focus();
		return;
	}
	
	var passport=document.getElementById("passport");
	
	if(passport.value=="no")
	{
		alert("请选择证件类型");
		window.location.href="#point6";
		passport.focus();
		return;
	}
	
	var passportid=document.getElementById("passportid");
	
	if(passportid.value=="")
	{
		alert("请填写证件号");
		window.location.href="#point6";
		passportid.focus();
		return;
	}
	
	var provinceAt=document.getElementById("provinceAt");
	
	if(province.value=="0")
	{
		alert("请选择现居地省份");
		window.location.href="#point7";
		province.focus();
		return;
	}
	
	var cityAt=document.getElementById("cityAt");
	
	if(city.value=="0")
	{
		alert("请选择现居地城市");
		window.location.href="#point7";
		city.focus();
		return;
	}
	
	var contactid=document.getElementById("contactid");
	
	if(contactid.value=="")
	{
		alert("请填写联系方式");
		window.location.href="#point8";
		contactid.focus();
		return;
	}
	
	var email=document.getElementById("email");
	
	if(email.value=="")
	{
		alert("请填写E-mail地址");
		window.location.href="#point8";
		email.focus();
		return;
	}
	
	var rule=/^\w+@\w+(\.com)+(\.cn)?$/;
	
	if(!rule.test(email.value))
	{
		alert("请输入正确的邮箱地址");
		window.location.href="#point8";
		email.select();
		return;
	}

	
	var areaEdu=document.getElementById("areaEdu");
	if(areaEdu.value=="")
	{
		alert("请填写教育经历");
		window.location.href="#point2";
		areaEdu.focus();
		return;
	}
	
	var proposal=document.getElementById("proposal");
	if(proposal.value=="")
	{
		alert("请填写求职意向");
		window.location.href="#point2";
		proposal.focus();
		return;
	}
	
	
	alert("成功提交");
}




</script>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>

